package org.example.web.controllers;

import org.example.annotations.component.Controller;
import org.example.annotations.route.GetMapping;
import org.example.web.services.ITestService;

@Controller
public class TestController {

    public TestController(ITestService service) {
        System.out.println("TestController init");
    }

    @GetMapping("/test")
    public String index() {
        return "test";
    }
}
